package com.hcy.rabbitbasicmodel.enums;

/**
 * @Author huchenying
 * @Description 消息类型枚举
 * @Date 2021/12/15 18:35
 */
public enum Log_Code {
    DEFAULT("操作","操作"),
    U_ROUTES("修改路由表","修改路由表"),
    A_USER("增加用户","增加用户"),
    D_USER("删除用户","删除用户"),
    A_ROLE("添加角色","添加角色"),
    D_ROLE("删除角色","删除角色"),
    A_MENU("添加菜单","添加菜单"),
    D_MENU("删除菜单","删除菜单"),
    U_MENU("更新角色菜单","更新角色菜单"),
    U_PERMISSION("修改权限","修改权限"),
    D_CAR("删除车辆","删除车辆"),
    A_CAR("添加车辆","添加车辆"),
    U_CAR("修改车辆信息","修改车辆信息"),
    D_CAR_TYPE("删除车辆类型","删除车辆类型"),
    U_CAR_TYPE("修改车辆类型","修改车辆类型"),
    A_CAR_TYPE("添加车辆类型","添加车辆类型"),
    D_CAR_LEVEL("删除车辆等级","删除车辆等级"),
    A_CAR_LEVEL("添加车辆等级","添加车辆等级"),
    U_CAR_LEVEL("更新车辆等级","更新车辆等级"),
    A_DRIVER("添加司机","添加司机"),
    U_DRIVER("更新司机信息","更新司机信息"),
    D_DRIVER("删除司机","删除司机"),



    END("END","END");
    String type;
    String desc;

    Log_Code() {

    }
    Log_Code(String type) {
        this.type = type;
    }

    Log_Code(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }

}
